aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/sujet/[slug].tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-20 22:22:35 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-21 19:23:43 +0200
commit802548124071039f83ebfa2605e839ded82b5689 (patch)
tree62d85fe786b84fcdd099f20e21e1827add701ae8 /src/pages/sujet/[slug].tsx
parent7fd11d99f8a547e4acb89b9f9159b92e208dc90f (diff)
chore: update some styles
* Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement
Diffstat (limited to 'src/pages/sujet/[slug].tsx')
-rw-r--r--src/pages/sujet/[slug].tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/sujet/[slug].tsx b/src/pages/sujet/[slug].tsx
index 271f4ec..b4845eb 100644
--- a/src/pages/sujet/[slug].tsx
+++ b/src/pages/sujet/[slug].tsx
@@ -191,7 +191,7 @@ const TopicPage: NextPageWithLayout<TopicPageProps> = ({
: []
}
>
- <div dangerouslySetInnerHTML={{ __html: content }} />
+ {content && <div dangerouslySetInnerHTML={{ __html: content }} />}
{articles && (
<>
<Heading level={2}>